import { getHttpPost } from "../tokens/http";

export interface IConfigData {
    device_uuid: string;
}
export const config = async (data: IConfigData) => {
    try {
        const httpPost = getHttpPost()
        const res = await httpPost('config', data)
        return res;
    } catch (e) {
        throw e;
    }
}